using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity.ModelConfiguration;
using WMSNet.Model.Models;

namespace WMSNet.Data.Configuration
{
    public class PickReceiptConfiguration : EntityTypeConfiguration<PickReceipt>
    {
        public PickReceiptConfiguration()
        {
            Property(g => g.PickReceiptID).IsRequired();
            Property(g => g.Date).IsOptional();
            Property(g => g.LabelID).IsRequired();
            Property(g => g.OrderNumber).IsOptional();
            Property(g => g.PickNumber).IsOptional();
            Property(g => g.State).IsOptional();
        }
    }
}
